@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="menuInfoForm">

            <input type="hidden" id="id" value="${menu.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="name" name="名称" value="${menu.name}" underline="true" />
                    <#input id="pName" name="父级菜单" underline="true"
                            hidden="pid" readonly="readonly" hiddenValue="${menu.pid}"
                            clickFun="MenuInfoDlg.showMenuSelectTree();"
                            style="background-color: #ffffff !important;"
                            treeFlag="true" treeDivId="pMenuTreeDiv" treeId="pMenuTree"/>

                    <#select id="isMenu" name="是否是菜单" underline="true" dictPCode="isMenu" value="${menu.isMenu}">
                    </#select>

                </div>
                <div class="col-sm-6">
                    <#input id="url" name="请求地址" value="${menu.url}" underline="true" />
                    <#input id="num" name="排序" value="${menu.num}" underline="true" />
                    <#input id="icon" name="图标" underline="false" value="${menu.icon}"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="MenuInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="MenuInfoDlg.close()"/>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/menu/menuInfo.js"></script>
@}
